package com.demo.dao;

import com.demo.dto.Sect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SectMapper {
    void add( @Param("sect")Sect sect );

    List<Sect> list(@Param("parentId") Integer parentId);
}
